<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%
String basePath = request.getContextPath();
%>
</head>
<body>
	<my:dpimporter/>
	<my:dp elementid="test" name="name1" format="%Y-%m-%d" styleClass="f" style="f"/>
</body>
</html>

<script>
			var params = new Array();
			params['cmdid']=2;
			params['roomid']=_roomid;
			params['timeStamp']=new Date().getTime();
			var bindArgs = {
				url: "<%=basePath%>/action.stv",
		 		mimetype: "text/plain",
		 		content: params,
		 		error: function(type, data, evt){
					alert(""); 
				},
				load: function(type, data, evt){
					if (data.length>0) alert(data);
				}
			};
			dojo.io.bind(bindArgs);

</script>